package com.czmh.etc.onlinepubsys.json.mingchuang;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Setter@Getter
@ApiModel("铭创银联对接响应结果")
public class UnionPayJSONResult {
    public static final String SUCCESS = "0"; //成功
    public static final String FAIL = "500"; //失败

    @ApiModelProperty(notes = "返回码，ret=0 表示请求成功,其他，则为异常")
    private String ret = SUCCESS; //返回码，ret=0 表示请求成功,其他，则为异常

    @ApiModelProperty(notes = "返回码说明")
    private String message; //返回码说明

    @ApiModelProperty(notes = "业务请求返回数据,具体格式由 API 决定")
    private JSONObject data; //业务请求返回数据,具体格式由 API 决定
}
